package com.foreknow.service;

import com.foreknow.entity.Department;

import java.util.List;

public interface DepartmentService {

    /**
     * 查询所有DeptName医生职称 字段
     * @return
     */
    public List<Department> queryDeptName();

    /**
     * 根据id删除用户信息
     * @param id
     * @return
     */
    public int deleteDepById(int id);

    /**
     * 添加用户信息
     * @param department
     * @return
     */
    public int insertDep(Department department);

    /**
     * 修改用户信息
     * @param department
     * @return
     */
    public int updateDep(Department department);

    /**
     * 条件查询
     * @param department
     * @return
     */
    public List<Department> selectByWhere(Department department);

    /**
     * 根据id查询科室信息
     * @param id
     * @return
     */
    public Department seletById(int id);
}
